class Human(object):
    def __init__(self,name,speak,hobby):
        self.name=name
        self.speak=speak
        self.hobby=hobby
    def Chinese(self):
        print(f'有一个中国人他叫{self.name},他会说{self.speak},喜欢{self.hobby}')
if __name__ == '__main__':
    human=Human(name='张三',speak='说中文,也会说英语',hobby='打篮球')
    human.Chinese()